<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <input type="text">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">

  <script>
    /* 
      点击事件在移动端会有300ms左右的延迟时间

      因此我们需要使用移动特有的事件

      
    
    */
    document.ontouchstart = function () {
      console.log(Date.now())
    }

    document.onclick = function () {
      console.log(Date.now())
    }
  
  </script>
</body>
</html>